package com.warm.base.design.b_visitor;

import java.util.Random;

/**
 * @Date: 2019/11/27 15:17
 * @Author: LChuang
 * @Description:
 */
public abstract class Element {

    public String name;
    public int kpi;

    public Element(String name){
        this.name = name;
        kpi = new Random().nextInt(10);
    }

    public abstract void accept(Visitor visitor);
}
